package com.scproject.scbef.service.study.studyresource;

import com.scproject.dto.ResponseDto;
import org.springframework.web.multipart.MultipartHttpServletRequest;

/**
 * @author LNL
 * @date 2021/5/24 15:33
 */
public interface StudyResourceService {
    /**
     * 获取所有学习资料
     * @return
     */
    ResponseDto getAllStudyResources();

    /**
     * 添加学习资料
     * @param request
     * @return
     */
    ResponseDto insertStudyResource(MultipartHttpServletRequest request);

    /**
     * 删除学习资料
     * @param id
     * @return
     */
    ResponseDto deleteStudyResource(String id);

    /**
     * 更新学习资料
     * @param request
     * @return
     */
    ResponseDto updateStudyResource(MultipartHttpServletRequest request);
}
